package com.manpower.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * MpQuestionLevel entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "mp_question_level", catalog = "manpower")
public class MpQuestionLevel implements java.io.Serializable {

	// Fields

	private Integer id;
	private String questionLevelName;

	// Constructors

	/** default constructor */
	public MpQuestionLevel() {
	}

	/** minimal constructor */
	public MpQuestionLevel(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public MpQuestionLevel(Integer id, String questionLevelName) {
		this.id = id;
		this.questionLevelName = questionLevelName;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "question_level_name", length = 200)
	public String getQuestionLevelName() {
		return this.questionLevelName;
	}

	public void setQuestionLevelName(String questionLevelName) {
		this.questionLevelName = questionLevelName;
	}

}